package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class DefectType {

    private int defectTypeID;
    private String defectTypeName;

    /**
     * Contructor for DefectTypeClass
     */
    public DefectType() {
    }

    /**
     * Contructor for DefectTypeClass
     * @param defectTypeID
     * @param defectTypeName
     */
    public DefectType(int defectTypeID, String defectTypeName) {
        this.setData(defectTypeID, defectTypeName);
    }

    /**
     * Method to set data for DefectTypeClass
     * @param defectTypeID
     * @param defectTypeName
     */
    public void setData(int defectTypeID, String defectTypeName) {
        this.setDefectTypeID(defectTypeID);
        this.setDefectTypeName(defectTypeName);
    }

    /**
     * @return the defectTypeID
     */
    public int getDefectTypeID() {
        return defectTypeID;
    }

    /**
     * @param defectTypeID the defectTypeID to set
     */
    public void setDefectTypeID(int defectTypeID) {
        this.defectTypeID = defectTypeID;
    }

    /**
     * @return the defectTypeName
     */
    public String getDefectTypeName() {
        return defectTypeName;
    }

    /**
     * @param defectTypeName the defectTypeName to set
     */
    public void setDefectTypeName(String defectTypeName) {
        this.defectTypeName = defectTypeName;
    }
}
